<%@ page contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:form id="formulaire" action="AddStock.do" namespace="/secured" >
    
    <s:select label="Magasin" headerValue="-- Please select --" name="selectedStore"
    list="stores" listKey="reference" listValue="name" />
    <s:select label="Produit" headerValue="-- Please select --" name="selectedProduct"
    list="products" listKey="productId" listValue="productName" />

    <s:textfield name="quantity" label="Quantity" required="true" />
    <s:textfield name="price" label="Prix" required="true" />

    <s:submit name="action" value="add" />
</s:form>

